package com.AAA.entity.sas;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Id;
import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "t_sas")
//@ApiModel(value = "TSas)", description = "")
public class TSas extends BaseRowModel implements Serializable{
    private static final long serialVersionUID = -58080365543501606L;

    /**
     * question id
     */

    @Id
    @Column(name = "qid")
    private Integer qid;

    @Column(name = "tid")
    @ExcelProperty("编号")
    //@ApiModelProperty(value = "${column.comment}")
    private Integer tid;

//    @Column(name = "question")
    @ExcelProperty(value = "题目", index = 0)
    //@ApiModelProperty(value = "question")
    private String question;

    @Column(name = "optionOne")
    @ExcelProperty(value = "1.", index = 1)
    //@ApiModelProperty(value = "option1")
    private String optionone;

    @Column(name = "optionTwo")
    @ExcelProperty(value = "2.", index = 2)
    //@ApiModelProperty(value = "option2")
    private String optiontwo;

    @Column(name = "optionThree")
    @ExcelProperty(value = "3.", index = 3)
    //@ApiModelProperty(value = "option3")
    private String optionthree;

    @Column(name = "optionFour")
    @ExcelProperty(value = "4.", index = 4)
    //@ApiModelProperty(value = "option4")
    private String optionfour;

    @Column(name = "score")
    //@ApiModelProperty(value = "${column.comment}")
    private Long score;
}
